package com.itlaoqi.springcloud.bookservice.service;


import com.itlaoqi.springcloud.bookservice.entity.Book;
import com.itlaoqi.springcloud.bookservice.mapper.BookMappper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookService {

    @Autowired
    BookMappper bookMappper;

    public List<Book> getAllBooks() {



        return  bookMappper.getAllBooks();


    }
}
